package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 t_user
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class TUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userName;

    /** 用户性别 0:代表男 1:代表女 */
    @Excel(name = "用户性别 0:代表男 1:代表女")
    private Long userSex;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userMobilePhone;

    /** 用户运动积分 */
    @Excel(name = "用户运动积分")
    private Long userScore;

    /** 用户身高 */
    @Excel(name = "用户身高")
    private Long userHeight;

    /** 用户体重 */
    @Excel(name = "用户体重")
    private Long userWeight;

    /** 用户头像图片路经 */
    @Excel(name = "用户头像图片路经")
    private String userTitleImg;

    /** 用户背景图片路径 */
    @Excel(name = "用户背景图片路径")
    private String userImg;

    /** 删除标识,未删除为0，已删除为1 */
    @Excel(name = "删除标识,未删除为0，已删除为1")
    private Long deleteFlag;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setUserSex(Long userSex) 
    {
        this.userSex = userSex;
    }

    public Long getUserSex() 
    {
        return userSex;
    }

    public void setUserMobilePhone(String userMobilePhone) 
    {
        this.userMobilePhone = userMobilePhone;
    }

    public String getUserMobilePhone() 
    {
        return userMobilePhone;
    }

    public void setUserScore(Long userScore) 
    {
        this.userScore = userScore;
    }

    public Long getUserScore() 
    {
        return userScore;
    }

    public void setUserHeight(Long userHeight) 
    {
        this.userHeight = userHeight;
    }

    public Long getUserHeight() 
    {
        return userHeight;
    }

    public void setUserWeight(Long userWeight) 
    {
        this.userWeight = userWeight;
    }

    public Long getUserWeight() 
    {
        return userWeight;
    }

    public void setUserTitleImg(String userTitleImg) 
    {
        this.userTitleImg = userTitleImg;
    }

    public String getUserTitleImg() 
    {
        return userTitleImg;
    }

    public void setUserImg(String userImg) 
    {
        this.userImg = userImg;
    }

    public String getUserImg() 
    {
        return userImg;
    }

    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userSex", getUserSex())
            .append("userMobilePhone", getUserMobilePhone())
            .append("userScore", getUserScore())
            .append("userHeight", getUserHeight())
            .append("userWeight", getUserWeight())
            .append("userTitleImg", getUserTitleImg())
            .append("userImg", getUserImg())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("version", getVersion())
            .toString();
    }
}
